/**
 * Copyright &copy; 2016-2017 <a href="https://www.lczyfz.com">联创智云</a> All rights reserved.
 */
package com.lczyfz.campusinfo.modules.wechatmsg.entity;

import org.hibernate.validator.constraints.Length;

import com.lczyfz.campusinfo.common.persistence.DataEntity;

/**
 * 微信组别管理Entity
 * @author 陈维乾
 * @version 2018-05-06
 */
public class WeixinGroup extends DataEntity<WeixinGroup> {
	
	private static final long serialVersionUID = 1L;
	private String groupName;		// 组别名
	private String description;		// 描述
	
	public WeixinGroup() {
		super();
	}

	public WeixinGroup(String id){
		super(id);
	}

	@Length(min=1, max=64, message="组别名长度必须介于 1 和 64 之间")
	public String getGroupName() {
		return groupName;
	}

	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}
	
	@Length(min=1, max=255, message="描述长度必须介于 1 和 255 之间")
	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}
	
}